package com.etc.entity;

import java.io.Serializable;

/**
 * @fun 用户实体类
 * @author 大洋
 *
 */
public class Users implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -2202888645206135244L;
	private int userid;
	private String username;
	private String userpwd;
	private String usersex;
	private String userphone;
	private int userstate;
	private String address;
	
	private String createtime;
	
	
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getUserpwd() {
		return userpwd;
	}
	public void setUserpwd(String userpwd) {
		this.userpwd = userpwd;
	}
	public String getUsersex() {
		return usersex;
	}
	public void setUsersex(String usersex) {
		this.usersex = usersex;
	}
	public String getUserphone() {
		return userphone;
	}
	public void setUserphone(String userphone) {
		this.userphone = userphone;
	}
	public int getUserstate() {
		return userstate;
	}
	public void setUserstate(int userstate) {
		this.userstate = userstate;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Users(int userid, String username, String userpwd, String usersex, String userphone, int userstate,
			String address) {
		super();
		this.userid = userid;
		this.username = username;
		this.userpwd = userpwd;
		this.usersex = usersex;
		this.userphone = userphone;
		this.userstate = userstate;
		this.address = address;
	}
	
	public Users() {
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Users [userid=" + userid + ", username=" + username + ", userpwd=" + userpwd + ", usersex=" + usersex
				+ ", userphone=" + userphone + ", userstate=" + userstate + ", address=" + address + ", createtime="
				+ createtime + "]";
	}
	
	
	

	

}
